Read environment from /etc/environment

This commit is contained in:
jalr 2018-03-18 16:34:11 +01:00
parent b968eff8ad
commit f6fb350523
2 changed files with 2 additions and 0 deletions

View file

@ -5,6 +5,7 @@ After=network.target
[Service]
ExecStart=/usr/local/sbin/labsync-install-localboot.sh
Type=oneshot
EnvironmentFile=/etc/environment
[Install]
WantedBy=multi-user.target

View file

@ -6,6 +6,7 @@ After=network.target
ExecStart=/usr/local/sbin/labsync-seeder.sh
PrivateTmp=yes
Type=simple
EnvironmentFile=/etc/environment
[Install]
WantedBy=multi-user.target