ansible/roles/zfs-backup/templates/zfs-backup.service.j2
2025-08-08 00:28:34 +02:00

22 lines
387 B
Django/Jinja

{{ ansible_managed | comment }}
[Unit]
Description=Service pour ZFS-backup
Wants=network-online.target
After=network-online.target
[Service]
Type=simple
User=root
TimeoutStartSec = 7200
Nice=19
CPUSchedulingPolicy=batch
Restart=no
LogRateLimitIntervalSec=0
ExecStartPre=/usr/bin/bash {{ zfs_backup.scriptpath }} nextcloud
ExecStart=/usr/bin/bash {{ zfs_backup.scriptpath }} gitea