You are not logged in.
Hi all,
I moved to systemd successfully and want to use it to start pyload - I followed the wiki page
The service seems to start for less than a minutes and then stop, See below the terminal output of "sudo journalctl -n"
-- Logs begin at Wed, 2012-10-31 14:34:08 GMT, end at Thu, 2012-11-01 10:21:17 GMT. --
Nov 05 11:40:29 linuxbox sudo[3890]: pam_unix(sudo:session): session opened for user root by sweetth(uid=0)
Nov 05 11:40:29 linuxbox sudo[3890]: pam_unix(sudo:session): session closed for user root
Nov 05 11:41:21 linuxbox systemd[1]: pyload.service operation timed out. Terminating.
Nov 05 11:41:21 linuxbox systemd[1]: Failed to start Downloadtool for One-Click-Hoster written in python..
Nov 05 11:41:21 linuxbox systemd[1]: Unit pyload.service entered failed state
Nov 05 11:41:26 linuxbox sudo[3927]: sweetth : TTY=pts/0 ; PWD=/home/sweetth ; USER=root ; COMMAND=/usr/bin/systemctl status pyload.service
Nov 05 11:41:26 linuxbox sudo[3927]: pam_unix(sudo:session): session opened for user root by sweetth(uid=0)
Nov 05 11:41:26 linuxbox sudo[3927]: pam_unix(sudo:session): session closed for user root
Nov 05 11:42:39 linuxbox sudo[3985]: sweetth : TTY=pts/0 ; PWD=/home/sweetth ; USER=root ; COMMAND=/usr/bin/journalctl -n
Nov 05 11:42:39 linuxbox sudo[3985]: pam_unix(sudo:session): session opened for user root by sweetth(uid=0)And the pyload.service file:
[Unit]
Description=Downloadtool for One-Click-Hoster written in python.
After=network.target
[Service]
Type=forking
PIDFile=/run/pyload/pyload.pid
ExecStart=/usr/bin/pyLoadCore --daemon
KillSignal=SIGQUIT
User=sweetth
[Install]
WantedBy=multi-user.targetMany thanks for your time and assistance,
Offline
Hello sweetthdevil,
I had the same problem and I solved it. If you start pyload as a user, you'll find the pyload.pid file in your home folder. So you have to edit the PIDFile entry:
PIDFile=/home/$USER/.pyload/pyload.pidRegards Moritz
Offline