I'm not stuck on getting it running as a Service.  

Just getting it so it runs when the server is power cycled or otherwise.  
Insuring that the scheduler is running so it can do DB updates of 
flat-files that get dumped on the box daily.

On Sunday, March 13, 2016 at 7:32:47 PM UTC-7, Michael M wrote:
>
> When I take off the '&' at the end of the command I get the following 
> message:
>
> # systemctl restart web2py-scheduler.service 
> Job for web2py-scheduler.service failed because a fatal signal was 
> delivered to the control process. See "systemctl status 
> web2py-scheduler.service" and "journalctl -xe" for details.
>
>
> On Sunday, March 13, 2016 at 7:27:30 PM UTC-7, Michael M wrote:
>>
>> [root@server~]# systemctl status web2py-scheduler.service -l
>> ● web2py-scheduler.service - Web2py Scheduler service
>>    Loaded: loaded (/etc/systemd/system/web2py-scheduler.service; enabled; 
>> vendor preset: disabled)
>>    Active: activating (start) since Sun 2016-03-13 19:09:14 PDT; 38s ago
>>  Main PID: 13549 (python)
>>    CGroup: /system.slice/web2py-scheduler.service
>>            └─13549 /usr/bin/python /opt/www-data/web2py/web2py.py -K 
>> networktools &
>>
>> Mar 13 19:09:14 server systemd[1]: Starting Web2py Scheduler service.
>>
>> On Saturday, March 12, 2016 at 5:20:36 PM UTC-8, Michael M wrote:
>>>
>>> Currently I have "/etc/systemd/system/web2py-scheduler.service":
>>> ---------------------------------
>>> [Unit]
>>> Description=Web2py Scheduler service
>>>
>>> chedulerService]
>>> ExecStart=  /usr/bin/python /opt/www-data/web2py/web2py.py -K 
>>> networktools -Q &
>>> Restart=always
>>> KillSignal=SIGQUIT
>>> Type=notify
>>> NotifyAccess=all
>>>
>>> [Install]
>>> WantedBy=multi-user.target
>>> -----------------------
>>>
>>>
>>> RHEL 7 and Im when i enable and start then get status i get "starting"  
>>> but never fully starts.  Am i calling it wrong or any thoughts?
>>>
>>> Thanks!
>>>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to