Add systemd service and timer units

This commit is contained in:
Eric Torres
2023-01-02 21:15:39 -08:00
parent 8379941fd9
commit 46fd75c013
4 changed files with 34 additions and 0 deletions

8
snapraid-sync.service Normal file
View File

@@ -0,0 +1,8 @@
[Unit]
Description=Run SnapRAID sync command
[Service]
Type=oneshot
Nice=19
IOSchedulingClass=idle
ExecStart=/usr/bin/snapraid sync