Files

21 lines
492 B
Desktop File

[Unit]
Description=Watcher IMAP di harbour-grumpydove (manda il push al telefono)
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
ExecStart=/usr/local/bin/gd-push-watcher.py --config /etc/gd-push-watcher.conf --ogni 60
Restart=always
RestartSec=30
# La config contiene la password della casella: leggibile solo da root.
User=root
NoNewPrivileges=yes
PrivateTmp=yes
ProtectSystem=strict
ProtectHome=yes
ReadWritePaths=/etc
[Install]
WantedBy=multi-user.target