summarylogtreecommitdiffstats
path: root/bitmagnet.service
blob: 369c80ede649686515a38d52cd413f2091a5f36b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Unit]
Description=Bitmagnet Daemon
Wants=network-online.target
After=network-online.target

[Service]
Type=simple
User=bitmagnet
Group=bitmagnet
SyslogIdentifier=bitmagnet
Environment=XDG_CONFIG_HOME=/etc
Environment=XDG_STATE_HOME=/var/lib
ExecStart=/usr/bin/bitmagnet worker run --all
Restart=on-failure
RestartSec=15s
UMask=0077

[Install]
WantedBy=multi-user.target