made environment file for the service.
I am unable to reproduce systemctl set-environment to work as advertized.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user