mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-22 17:26:21 +03:00
Use absolute path to nox binary in the systemd service file. Also generate the service file with configure. Closes #2914.
This commit is contained in:
parent
d14805d065
commit
0994d258e2
3 changed files with 1320 additions and 1 deletions
|
@ -286,6 +286,8 @@ AC_SUBST(QBT_ADD_DEFINES)
|
|||
AC_SUBST(QBT_REMOVE_DEFINES)
|
||||
|
||||
AC_OUTPUT(conf.pri)
|
||||
AS_IF([test "x$enable_systemd" = "xyes"],
|
||||
[AC_OUTPUT(dist/unix/systemd/qbittorrent-nox.service)])
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ After=network.target
|
|||
[Service]
|
||||
Type=forking
|
||||
User=1000
|
||||
ExecStart=qbittorrent-nox -d
|
||||
ExecStart=@EXPAND_BINDIR@/qbittorrent-nox -d
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in a new issue