Modify notify access and service killing

This commit is contained in:
Benedikt Ziemons 2020-11-18 23:43:51 +01:00
parent a94451639a
commit b38d18fcb6
Signed by: ben
GPG key ID: 0F54A7ED232D3319

View file

@ -6,14 +6,14 @@ After=network-online.target
[Service] [Service]
Type=notify Type=notify
NotifyAccess=all NotifyAccess=main
Environment=PODMAN_SYSTEMD_UNIT=%n Environment=PODMAN_SYSTEMD_UNIT=%n
ExecStart=/usr/local/bin/podlaunch %i ExecStart=/usr/local/bin/podlaunch %i
Restart=always Restart=always
RestartSec=20s RestartSec=20s
TimeoutStartSec=2min TimeoutStartSec=2min
TimeoutStopSec=1min TimeoutStopSec=1min
KillMode=none SendSIGKILL=no
[Install] [Install]
WantedBy=multi-user.target default.target WantedBy=multi-user.target default.target