1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-15 12:59:06 +00:00
gns3-server/init/gns3.service.systemd

18 lines
414 B
Plaintext
Raw Normal View History

2016-08-26 16:45:22 +00:00
[Unit]
Description=GNS3 server
[Service]
Type=forking
User=gns3
Group=gns3
PermissionsStartOnly=true
ExecStartPre=/bin/mkdir -p /var/log/gns3 /var/run/gns3
ExecStartPre=/bin/chown -R gns3:gns3 /var/log/gns3 /var/run/gns3
ExecStart=/usr/local/bin/gns3server --log /var/log/gns3/gns3.log \
--pid /var/run/gns3/gns3.pid --daemon
2016-08-26 16:45:22 +00:00
Restart=on-abort
PIDFile=/var/run/gns3/gns3.pid
2016-08-26 16:45:22 +00:00
[Install]
WantedBy=multi-user.target