MonScoDocEssai/tools/etc/scodoc-backup-db.service

19 lines
372 B
SYSTEMD
Raw Normal View History

#
# Systemd service to backup ScoDoc postgresql database
#
# Put this file in /etc/systemd/system, along with scodoc-updater.timer
# and then run
# systemctl enable scodoc-updater.timer
# systemctl start scodoc-updater.timer
#
# E. Viennet jun 2019
#
[Unit]
Description=Update ScoDoc Software
[Service]
Type=oneshot
ExecStart=/opt/scodoc/tools/backup_db9 SCODOC