db dump timer: change service type to simple

oneshot considers the service to be active after the main process exits.
This is not wanted here, removing the declaration makes the type default
to simple, which considers units to be active when the main process is
running.
This commit is contained in:
jkhsjdhjs 2020-06-08 21:24:25 +00:00
parent 92d98a1e6c
commit b4f0d5644f

View File

@ -2,5 +2,4 @@
Description=nxy database dump timer Description=nxy database dump timer
[Service] [Service]
Type=oneshot
ExecStart=/usr/bin/pg_dump -d nxy_prod -f %h/dump.sql ExecStart=/usr/bin/pg_dump -d nxy_prod -f %h/dump.sql