derbynet icon indicating copy to clipboard operation
derbynet copied to clipboard

Create and add derbynet-timer.service to derbynet-extras

Open dougfultz opened this issue 1 year ago • 0 comments

To simplify setup of the startup of the DerbyNet timer. Please create and add /usr/share/derbynet/conf/derbynet-timer.service to the derbynet-extras package with the following contents:

[Unit]
Description=DerbyNet Timer
After=multi-user.target

[Service]
ExecStart=/usr/share/derbynet/scripts/derby-timer.sh
Type=simple

[Install]
WantedBy=multi-user.target

This will simplify setup by allowing a user to edit /etc/derbynet.conf with their desired configuration, then enable the automated start up with:

$ sudo systemctl enable /usr/share/derbynet/conf/derbynet-timer.service

dougfultz avatar Jan 06 '24 01:01 dougfultz