[systemd-devel] pyload.service
Sw@g
sweetthdevil at gmail.com
Mon Nov 5 15:26:29 PST 2012
Dear David,
Many thanks for your prompt reply,
See below the systemctl status:
[sweetth at linuxbox ~]$ sudo systemctl status pyload.service
pyload.service - Downloadtool for One-Click-Hoster written in python.
Loaded: loaded (/etc/systemd/system/pyload.service; enabled)
Active: failed (Result: timeout) since Mon, 2012-11-05 23:17:41
GMT; 7min ago
Process: 372 ExecStart=/usr/bin/pyLoadCore --daemon (code=exited,
status=0/SUCCESS)
CGroup: name=systemd:/system/pyload.service
Nov 05 23:16:33 linuxbox pyLoadCore[372]: Daemon PID 387
Nov 05 23:17:41 linuxbox systemd[1]: Failed to start Downloadtool for
One-Click-Hoster written in python..
Nov 05 23:17:41 linuxbox systemd[1]: Unit pyload.service entered failed
state
Looking forward for your reply,
On 05/11/12 22:02, David Strauss wrote:
> 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
>>
>
>
More information about the systemd-devel
mailing list