mirror of
https://github.com/tuna/tunasync.git
synced 2025-04-21 04:42:46 +00:00
16 lines
407 B
Desktop File
16 lines
407 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 memory:tunasync
|
|
ExecStart=/home/bin/tunasync worker -c /etc/tunasync/worker.conf --with-systemd
|
|
ExecReload=/bin/kill -SIGHUP $MAINPID
|
|
ExecStopPost=/usr/bin/cgdelete memory:tunasync
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|