Skip to content

Commit

Permalink
Use EnvironmentFile for Systemd service. Ref GNS3/gns3-gui#3048
Browse files Browse the repository at this point in the history
  • Loading branch information
grossmj committed Nov 2, 2020
1 parent 5743d47 commit aef8f0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/remote-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ Conflicts=shutdown.target
User=gns3
Group=gns3
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/chown -R gns3:gns3 /var/log/gns3 /var/run/gns3
ExecStart=/usr/bin/gns3server --log /var/log/gns3/gns3.log
Expand Down

0 comments on commit aef8f0d

Please sign in to comment.