git-pusher/git-pusher.service

16 lines
269 B
SYSTEMD
Raw Normal View History

2024-10-10 00:22:26 +03:00
[Unit]
Description=Logs-Preparer for <SERVICE>
After=network.target
[Service]
Type=simple
WorkingDirectory=<DIR>
ExecStart=poetry run git-pusher -w <WATCH_DIR>
CPUSchedulingPolicy=idle
IOSchedulingClass=3
Restart=always
RestartSec=3
[Install]
WantedBy=default.target