mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-09 17:41:26 +00:00
b4467d83bf
Fix #1017
19 lines
450 B
Plaintext
19 lines
450 B
Plaintext
description "GNS3 server"
|
|
author "GNS3 Team"
|
|
env LANG=en_US.UTF-8
|
|
|
|
start on filesystem or runlevel [2345]
|
|
stop on shutdown
|
|
|
|
script
|
|
exec start-stop-daemon --start -c gns3 --exec /usr/local/bin/gns3server -- --log /var/log/gns3.log --pid /var/run/gns3.pid --daemon
|
|
end script
|
|
|
|
pre-start script
|
|
echo "[`date`] GNS3 Starting" >> /var/log/gns3.log
|
|
end script
|
|
|
|
pre-stop script
|
|
echo "[`date`] GNS3 Stopping" >> /var/log/gns3.log
|
|
end script
|