add example systemd service file
This commit is contained in:
parent
1dd4fd0c9c
commit
1938c5f856
|
@ -0,0 +1,11 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Forget web application server
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
WorkingDirectory=/home/codl/forget
|
||||||
|
ExecStart=/bin/bash -c "source venv/bin/activate; honcho start"
|
||||||
|
User=codl
|
Loading…
Reference in New Issue