mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 09:18:08 +00:00
17 lines
405 B
Plaintext
17 lines
405 B
Plaintext
[Unit]
|
|
Description=GNS3 server
|
|
|
|
[Service]
|
|
Type=forking
|
|
User=gns3
|
|
Group=gns3
|
|
PermissionsStartOnly=true
|
|
ExecStartPre=/bin/mkdir /var/run/gns3
|
|
ExecStartPre=/bin/chown -R gns3:gns3 /var/run/gns3/
|
|
ExecStart=/usr/share/gns3/gns3-server/bin/gns3server --log /var/log/gns3/gns3.log --pid /var/run/gns3/gns3.pid --daemon
|
|
Restart=on-abort
|
|
PIDFile=/var/run/gns3/gns3-server.pid
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|