tunasync-worker.service 363 B

1234567891011121314
  1. [Unit]
  2. Description = TUNA mirrors sync worker
  3. After=network.target
  4. [Service]
  5. Type=simple
  6. User=tunasync
  7. PermissionsStartOnly=true
  8. ExecStartPre=/usr/bin/cgcreate -t tunasync -a tunasync -g cpu:tunasync
  9. ExecStart=/home/bin/tunasync worker -c /etc/tunasync/worker.conf --with-systemd
  10. ExecStopPost=/usr/bin/cgdelete cpu:tunasync
  11. [Install]
  12. WantedBy=multi-user.target