Send Motion-user mailing list submissions to
        motion-user@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/motion-user
or, via email, send a message with subject or body 'help' to
        motion-user-requ...@lists.sourceforge.net

You can reach the person managing the list at
        motion-user-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."


Today's Topics:

   1. systemd start (Richard Bown)
   2. Re: systemd start (manu.kemppai...@yahoo.com)
   3. Re: systemd start (Richard Bown)
   4. Re: systemd start (Rob Kurtz)


----------------------------------------------------------------------

Message: 1
Date: Sat, 1 Feb 2020 17:21:35 +0000
From: Richard Bown <rich...@g8jvm.com>
To: motion-user@lists.sourceforge.net
Subject: [Motion-user] systemd start
Message-ID: <7d5c369e-c226-1d54-8786-0b3788e7b...@g8jvm.com>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi
I'm doing something stoopid and cant see my mistake.
Having to reload all s/w after a mishap with python3.8 on another 
application

my motion.service file is :-

[Unit]
Description=Motion
After=network-online.target

[Service]
Type=simple
ExecStart=/usr/bin/motion -c /etc/motion/motion.conf

[Install]
WantedBy=multi-user.target


I can run /usr/bin/motion -c /etc/motion/motion.conf

from anywhere and motion starts OK

but "sudo systemctl start motion "  fails
it has been enabled, and "systemctl status" says its enabled

sorry to ask such daft questions


-- 
  Best wishes /73
  Richard Bown

  Email : rich...@g8jvm.com

  HTTP  :  http://www.g8jvm.com

  ######################################################################

  Ham Call: G8JVM . QRV: 50-432 MHz + Microwave
  Maidenhead QRA: IO82SP38, LAT. 52 39.720' N LONG. 2 28.171 W
  QRV 6mtrs 200W, 4mtrs 150W, 2mtrs 300W, 70cms 200W,
  Microwave 1296MHz 110W, 2320MHz 100W, 5760MHz 10W & 10368MHz 5W
  OS: Linux Mint 19.3 x86_64 Tricia, on a Dell Inspiron 3580 laptop
  ######################################################################
Come back Guy Fawkes, all is forgiven



------------------------------

Message: 2
Date: Sat, 01 Feb 2020 19:31:38 +0200
From: "manu.kemppai...@yahoo.com" <manu.kemppai...@yahoo.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] systemd start
Message-ID:
        
<-v03jqxjltb6in9yhnx-rsu4rx-bnsh4psefp6t-yvolwkqxqliihgopw6-y63fif-xijk5i3m4te7p476dqbu0bcxndhv3s-1snci1sbtuaevq3tf2-3ovk41-1nd2c7xbjak4-qkakvt-lfje9p-4u4j4k.1580578298...@email.android.com>
        
Content-Type: text/plain; charset="us-ascii"

An HTML attachment was scrubbed...

------------------------------

Message: 3
Date: Sat, 1 Feb 2020 17:57:25 +0000
From: Richard Bown <rich...@g8jvm.com>
To: "manu.kemppainen--- via Motion-user"
        <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] systemd start
Message-ID: <7fbd1dd4-2442-0f7a-c8cb-c4647561e...@g8jvm.com>
Content-Type: text/plain; charset=utf-8; format=flowed

I can add -d if started from CLI but adding it to the ExecStart line 
makes no difference .

On 01/02/2020 17:31, manu.kemppainen--- via Motion-user wrote:
> Have you tried starting motion in daemon mode with -d?
> 
> --
> Manu
> 
> 
> -------- Alkuper?inen viesti --------
> L?hett?j?: Richard Bown <rich...@g8jvm.com>
> P?iv?m??r?: la 1. helmik. 2020 klo 19.21
> Vastaanottaja: motion-user@lists.sourceforge.net
> Aihe: [Motion-user] systemd start
> 
>     Hi
>     I'm doing something stoopid and cant see my mistake.
>     Having to reload all s/w after a mishap with python3.8 on another
>     application
> 
>     my motion.service file is :-
> 
>     [Unit]
>     Description=Motion
>     After=network-online.target
> 
>     [Service]
>     Type=simple
>     ExecStart=/usr/bin/motion -c /etc/motion/motion.conf
> 
>     [Install]
>     WantedBy=multi-user.target
> 
> 
>     I can run /usr/bin/motion -c /etc/motion/motion.conf
> 
>     from anywhere and motion starts OK
> 
>     but "sudo systemctl start motion "? fails
>     it has been enabled, and "systemctl status" says its enabled
> 
>     sorry to ask such daft questions
> 
> 
>     -- 
>      ? Best wishes /73
>      ? Richard Bown
> 
>      ? Email : rich...@g8jvm.com
> 
>      ? HTTP? :? http://www.g8jvm.com
> 
>       
>     ######################################################################
> 
>      ? Ham Call: G8JVM . QRV: 50-432 MHz + Microwave
>      ? Maidenhead QRA: IO82SP38, LAT. 52 39.720' N LONG. 2 28.171 W
>      ? QRV 6mtrs 200W, 4mtrs 150W, 2mtrs 300W, 70cms 200W,
>      ? Microwave 1296MHz 110W, 2320MHz 100W, 5760MHz 10W & 10368MHz 5W
>      ? OS: Linux Mint 19.3 x86_64 Tricia, on a Dell Inspiron 3580 laptop
>       
>     ######################################################################
>     Come back Guy Fawkes, all is forgiven
> 
> 
>     _______________________________________________
>     Motion-user mailing list
>     Motion-user@lists.sourceforge.net
>     https://lists.sourceforge.net/lists/listinfo/motion-user
>     https://motion-project.github.io/
> 
>     Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
> 
> 
> 
> _______________________________________________
> Motion-user mailing list
> Motion-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
> 
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
> 

-- 
  Best wishes /73
  Richard Bown

  Email : rich...@g8jvm.com

  HTTP  :  http://www.g8jvm.com

  ######################################################################

  Ham Call: G8JVM . QRV: 50-432 MHz + Microwave
  Maidenhead QRA: IO82SP38, LAT. 52 39.720' N LONG. 2 28.171 W
  QRV 6mtrs 200W, 4mtrs 150W, 2mtrs 300W, 70cms 200W,
  Microwave 1296MHz 110W, 2320MHz 100W, 5760MHz 10W & 10368MHz 5W
  OS: Linux Mint 19.3 x86_64 Tricia, on a Dell Inspiron 3580 laptop
  ######################################################################
Come back Guy Fawkes, all is forgiven



------------------------------

Message: 4
Date: Sat, 1 Feb 2020 11:05:27 -0700
From: Rob Kurtz <r...@robkurtz.net>
To: motion-user@lists.sourceforge.net
Subject: Re: [Motion-user] systemd start
Message-ID: <56b04c83-5624-324a-2fd8-ba0af2a93...@robkurtz.net>
Content-Type: text/plain; charset=utf-8; format=flowed

How is "sudo systemctl start motion "? failing if systemctl status says 
its enabled? Could you provide more detail?

I had a similar situation with another service where part of the call 
would fail, and that failure showed in the status call, but the service 
was actually running.

Have you looked to see what the /var/log/motion.log file says?


Rob Kurtz
Sent from wct

On 2/1/2020 10:21 AM, Richard Bown wrote:
> Hi
> I'm doing something stoopid and cant see my mistake.
> Having to reload all s/w after a mishap with python3.8 on another 
> application
>
> my motion.service file is :-
>
> [Unit]
> Description=Motion
> After=network-online.target
>
> [Service]
> Type=simple
> ExecStart=/usr/bin/motion -c /etc/motion/motion.conf
>
> [Install]
> WantedBy=multi-user.target
>
>
> I can run /usr/bin/motion -c /etc/motion/motion.conf
>
> from anywhere and motion starts OK
>
> but "sudo systemctl start motion "? fails
> it has been enabled, and "systemctl status" says its enabled
>
> sorry to ask such daft questions
>
>



------------------------------



------------------------------

Subject: Digest Footer

_______________________________________________
Motion-user mailing list
Motion-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/motion-user


------------------------------

End of Motion-user Digest, Vol 164, Issue 1
*******************************************

Reply via email to