mirror of
https://github.com/GNS3/gns3-server
synced 2025-01-12 09:00:57 +00:00
update /var/run -> /run to meet FHS spec & Systemd best practices
This commit is contained in:
parent
6cb8b9a75e
commit
6b9511b36a
@ -8,13 +8,13 @@ Type=forking
|
|||||||
User=gns3
|
User=gns3
|
||||||
Group=gns3
|
Group=gns3
|
||||||
PermissionsStartOnly=true
|
PermissionsStartOnly=true
|
||||||
ExecStartPre=/bin/mkdir -p /var/log/gns3 /var/run/gns3
|
ExecStartPre=/bin/mkdir -p /var/log/gns3 /run/gns3
|
||||||
ExecStartPre=/bin/chown -R gns3:gns3 /var/log/gns3 /var/run/gns3
|
ExecStartPre=/bin/chown -R gns3:gns3 /var/log/gns3 /run/gns3
|
||||||
ExecStart=/usr/local/bin/gns3server --log /var/log/gns3/gns3.log \
|
ExecStart=/usr/local/bin/gns3server --log /var/log/gns3/gns3.log \
|
||||||
--pid /var/run/gns3/gns3.pid --daemon
|
--pid /run/gns3/gns3.pid --daemon
|
||||||
ExecReload=/bin/kill -s HUP $MAINPID
|
ExecReload=/bin/kill -s HUP $MAINPID
|
||||||
Restart=on-abort
|
Restart=on-abort
|
||||||
PIDFile=/var/run/gns3/gns3.pid
|
PIDFile=/run/gns3/gns3.pid
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
Reference in New Issue
Block a user