Skip to content

jonathan-longe/garden_lights

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Create a systemd service file:

/etc/systemd/service/garden-lights.service

[Unit]
Description=Scheduler to turn garden lights on / off
After=network.target

[Service]
User=<username>
WorkingDirectory=/<path>/garden_lights/app/
ExecStart=/<path>/.local/bin/gunicorn -b 0.0.0.0:8000 -w 4 'app:create_app()''
Restart=always

[Install]
WantedBy=multi-user.target
# systemctl daemon-reload 
# systemctl start garden-lights.service

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages