made environment file for the service.

I am unable to reproduce systemctl set-environment to work as
advertized.
This commit is contained in:
Egon Rijpkema committed 2017-10-18 17:11:23 +02:00
1 parent 7218694901
commit fe708539f0
2 files changed
+14 -2

No files matched your search

+1
View File
@@ -6,6 +6,7 @@ Requires=docker.service
[Service]
TimeoutStartSec=0
Restart=always
EnvironmentFile=/srv/mariadb/systemd_environment
ExecStartPre=-/usr/bin/docker kill %n || /bin/true
ExecStartPre=-/usr/bin/docker rm %n
ExecStartPre=/usr/bin/docker pull mariadb:10.2