[systemd-devel] pyload.service
David Strauss
david at davidstrauss.net
Mon Nov 5 14:02:07 PST 2012
Getting the "systemctl status <service>" output would be helpful. It
likely shows what exit error code the application returned on exiting.
On Mon, Nov 5, 2012 at 7:19 AM, Sw at g <sweetthdevil at gmail.com> wrote:
> Dear all,
>
> As a Archlinux user which adopted systemd for the best, I moved my system to
> it. I follow the wiki to start pyLoad as a service creating the following
> file:
> /etc/systemd/system/pyload.service (sweetth being my user)
>
> [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.targe
>
> The service seems to start find, but crash.
>
> 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)
>
>
> Many thanks for your time and assistance,
>
>
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>
--
David Strauss
| david at davidstrauss.net
| +1 512 577 5827 [mobile]
More information about the systemd-devel
mailing list