gns3-server/init/gns3.service.systemd
2015-06-09 17:29:01 +02:00

15 lines
279 B
Plaintext

[Unit]
Description=GNS3 server
[Service]
Type=forking
Environment=statedir=/var/cache/gns3
PIDFile=/var/run/gns3.pid
ExecStart=/usr/local/bin/gns3server --log /var/log/gns3.log \
--pid /var/run/gns3.pid --daemon
Restart=on-abort
User=gns3
[Install]
WantedBy=multi-user.target