summarylogtreecommitdiffstats
path: root/bitmagnet.service
blob: 8da9ebd3170d6fcc07254a8915c3d960aad8545e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[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=5s

[Install]
WantedBy=multi-user.target