mirror of
https://github.com/tuna/tunasync.git
synced 2025-06-15 05:52:43 +00:00
15 lines
363 B
Desktop File
15 lines
363 B
Desktop File
[Unit]
|
|
Description = TUNA mirrors sync worker
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=tunasync
|
|
PermissionsStartOnly=true
|
|
ExecStartPre=/usr/bin/cgcreate -t tunasync -a tunasync -g cpu:tunasync
|
|
ExecStart=/home/bin/tunasync worker -c /etc/tunasync/worker.conf --with-systemd
|
|
ExecStopPost=/usr/bin/cgdelete cpu:tunasync
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|