Search found 11 matches

by elettron
Mon Apr 14, 2014 3:03 pm
Forum: 123solar
Topic: 123solar.service
Replies: 64
Views: 27110

Re: 123solar.service

Only for information , now 123solar work and i'm happy :mrgreen: [root@alarmpi ~]# systemd-analyze blame 10.809s 123solar.service 5.897s netctl@ethernet\x2dstatic.service 3.179s systemd-readahead-done.service 860ms php-fpm.service 814ms systemd-udev-trigger.service 756ms nginx.service 617ms systemd-...
by elettron
Mon Apr 14, 2014 2:11 pm
Forum: 123solar
Topic: 123solar.service
Replies: 64
Views: 27110

Re: 123solar.service

:P Finally , after many attempts I solved it, I do not understand why, despite the correct settings 123solar.service part too early so it was enough to add a few seconds of waiting. [Unit] Description=123Solar Requires=network-online.target After=network.target [Service] Type=oneshot ExecStart=/usr/...
by elettron
Sun Apr 13, 2014 9:12 am
Forum: 123solar
Topic: 123solar.service
Replies: 64
Views: 27110

Re: 123solar.service

If someone were to have the same problem, I made this trivial script to put in crontab:

Code: Select all

#!/bin/bash
programma='aurora'
if ps ax | grep -v grep | grep $programma > /dev/null
then
echo "Aurora è già avviato"
else
echo "Aurora sta per essere avviato"
systemctl start 123solar.service
fi
exit
by elettron
Sat Apr 12, 2014 5:38 pm
Forum: 123solar
Topic: 123solar.service
Replies: 64
Views: 27110

Re: 123solar.service

Tnak you .
by elettron
Sat Apr 12, 2014 5:37 pm
Forum: 123solar
Topic: comms problems 1.6.5.1
Replies: 17
Views: 7876

Re: comms problems 1.6.5.1

In this post is the solution to your problem

http://forum.owncloud.org/viewtopic.php?f=23&t=14199
by elettron
Sat Apr 12, 2014 5:18 pm
Forum: 123solar
Topic: 123solar.service
Replies: 64
Views: 27110

Re: 123solar.service

mmm..... maybe i've understund but i've not the solution : the multi.user.target delays the start of a couple of minutes then 123solar.service fails to start automatically. [root@alarmpi ~]# systemctl list-units --type=target UNIT LOAD ACTIVE SUB JOB DESCRIPTION basic.target loaded active active Bas...
by elettron
Sat Apr 12, 2014 1:22 pm
Forum: 123solar
Topic: 123solar.service
Replies: 64
Views: 27110

Re: 123solar.service

Yes i don't get any error
by elettron
Sat Apr 12, 2014 12:31 pm
Forum: 123solar
Topic: 123solar.service
Replies: 64
Views: 27110

Re: 123solar.service

i'm using 123solar 1.6.5.2
the path is correct 123solar work fine only the service fail to start ,it seems that it starts before the network services
by elettron
Sat Apr 12, 2014 11:05 am
Forum: 123solar
Topic: 123solar.service
Replies: 64
Views: 27110

Re: 123solar.service

This is automatically start: [root@alarmpi ~]# systemctl status 123solar -l * 123solar.service - 123Solar Loaded: loaded (/etc/systemd/system/123solar.service; enabled) Active: failed (Result: exit-code) since Thu 1970-01-01 00:00:11 UTC; 44 years 3 months ago Process: 179 ExecStart=/usr/bin/curl ht...
by elettron
Sat Apr 12, 2014 11:00 am
Forum: 123solar
Topic: 123solar.service
Replies: 64
Views: 27110

Re: 123solar.service

This is manual start after boot: (sysctl start 123solar.service) Last login: Sat Apr 12 08:45:27 2014 from 192.168.1.38 [root@alarmpi ~]# systemctl status 123solar -l * 123solar.service - 123Solar Loaded: loaded (/etc/systemd/system/123solar.service; enabled) Active: inactive (dead) since Sat 2014-0...