systemd service with user switch.

rm previous systemd unit service

cmake now placing new file 'qbittorrent-nox@.service.in'

systemd service now "Type=simple"
This commit is contained in:
Anton-Latukha 2017-05-18 16:51:50 +03:00
commit e00c96df99
6 changed files with 20 additions and 17 deletions

View file

@ -0,0 +1,14 @@
[Unit]
Description=qBittorrenti-nox service for user %I
Documentation=man:qbittorrent-nox(1)
After=network.target
[Service]
Type=simple
PrivateTmp=false
User=%i
ExecStart=@EXPAND_BINDIR@/qbittorrent-nox
[Install]
WantedBy=multi-user.target