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. Re: Run Motion as a Service Debian 11 (JT)


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

Message: 1
Date: Sat, 4 Sep 2021 06:53:31 -0500
From: JT <li...@gnipsel.com>
To: motion-user@lists.sourceforge.net
Subject: Re: [Motion-user] Run Motion as a Service Debian 11
Message-ID: <c2648438-a371-fedb-4926-ea372f674...@gnipsel.com>
Content-Type: text/plain; charset=utf-8; format=flowed

Thanks

JT

On 9/3/21 11:52 AM, chuck elliot wrote:
> The Raspbian version of the motion package contains the files listed 
> below.
>
> There are files in /usr/share relevant to init and systemd based systems.
>
> I think only "motion.service" unit file is relevant to you. Presumably 
> this is
>
> sufficient to start motion using systemctl. It contains:
>
> ________________________________
>
> [Unit]
> Description=Motion daemon
> After=local-fs.target network.target
>
> [Service]
> PIDFile=/var/run/motion.pid
> ExecStart=/usr/bin/motion -n
> Type=simple
> StandardError=null
>
> [Install]
> WantedBy=multi-user.target
>
> ______________________________________
>
> Good luck.
>
> CE.
>
>
>
> root@chiffchaff:~# apt-file list motion
> motion: /etc/default/motion
> motion: /etc/init.d/motion
> motion: /etc/logrotate.d/motion
> motion: /etc/motion/camera1-dist.conf
> motion: /etc/motion/camera2-dist.conf
> motion: /etc/motion/camera3-dist.conf
> motion: /etc/motion/camera4-dist.conf
> motion: /etc/motion/motion.conf
> motion: /usr/bin/motion
> motion: /usr/share/doc-base/motion-guide
> motion: /usr/share/doc/motion/CREDITS.gz
> motion: /usr/share/doc/motion/NEWS.Debian.gz
> motion: /usr/share/doc/motion/README.md
> motion: /usr/share/doc/motion/changelog.Debian.armhf.gz
> motion: /usr/share/doc/motion/changelog.Debian.gz
> motion: /usr/share/doc/motion/changelog.gz
> motion: /usr/share/doc/motion/copyright
> motion: /usr/share/doc/motion/mask1.png
> motion: /usr/share/doc/motion/motion_guide.html
> motion: /usr/share/doc/motion/normal.jpg
> motion: /usr/share/doc/motion/outputmotion1.jpg
> motion: /usr/share/doc/motion/outputnormal1.jpg
> motion: /usr/share/man/man1/motion.1.gz
> motion: /usr/share/motion/examples/camera1-dist.conf
> motion: /usr/share/motion/examples/camera2-dist.conf
> motion: /usr/share/motion/examples/camera3-dist.conf
> motion: /usr/share/motion/examples/camera4-dist.conf
> motion: /usr/share/motion/examples/motion-dist.conf
> motion: /usr/share/motion/examples/motion.init-Debian
> motion: /usr/share/motion/examples/motion.init-FreeBSD.sh
> motion: /usr/share/motion/examples/motion.service
> root@chiffchaff:~# more /usr/share/motion/examples/motion.service
>
>
>
> On 9/3/21 1:39 PM, JT wrote:
>> I'm trying to run Motion as a service on Debian 11. I build motion 
>> from source and installed with make install.
>>
>> The documents state
>>
>> Motion can be set up to run as a service which means that it will 
>> start automatically whenever the computer is started. When Motion is 
>> installed from apt or from a deb file, default files are installed 
>> which can be easily modified so that Motion starts as a service. If 
>> Motion is built directly from source and installed, then these 
>> additional files will need to be copied, modified and installed 
>> manually from the source and packaging repositories.
>>
>> Well I'll be darned if I can find what files need to be copied, 
>> modified and installed manually.
>>
>> There is no file /etc/default/motion on my system so I assume that is 
>> one of the files.
>>
>> JT
>>
>>
>>
>> _______________________________________________
>> 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
>



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



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

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 183, Issue 9
*******************************************

Reply via email to