add example systemd service file

This commit is contained in:
codl 2017-08-03 22:48:45 +02:00
parent 1dd4fd0c9c
commit 1938c5f856
No known key found for this signature in database
GPG Key ID: 6CD7C8891ED1233A
1 changed files with 11 additions and 0 deletions

11
forget.example.service Normal file
View File

@ -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