mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-26 00:38:10 +00:00
Use EnvironmentFile for Systemd service. Ref https://github.com/GNS3/gns3-gui/issues/3048
This commit is contained in:
parent
5743d47327
commit
aef8f0dff3
@ -260,7 +260,7 @@ Conflicts=shutdown.target
|
|||||||
User=gns3
|
User=gns3
|
||||||
Group=gns3
|
Group=gns3
|
||||||
PermissionsStartOnly=true
|
PermissionsStartOnly=true
|
||||||
Environment="PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
EnvironmentFile=/etc/environment
|
||||||
ExecStartPre=/bin/mkdir -p /var/log/gns3 /var/run/gns3
|
ExecStartPre=/bin/mkdir -p /var/log/gns3 /var/run/gns3
|
||||||
ExecStartPre=/bin/chown -R gns3:gns3 /var/log/gns3 /var/run/gns3
|
ExecStartPre=/bin/chown -R gns3:gns3 /var/log/gns3 /var/run/gns3
|
||||||
ExecStart=/usr/bin/gns3server --log /var/log/gns3/gns3.log
|
ExecStart=/usr/bin/gns3server --log /var/log/gns3/gns3.log
|
||||||
|
Loading…
Reference in New Issue
Block a user