diff options
| -rw-r--r-- | conf/ihatemoney.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/conf/ihatemoney.service b/conf/ihatemoney.service new file mode 100644 index 0000000..c6cbb3f --- /dev/null +++ b/conf/ihatemoney.service @@ -0,0 +1,14 @@ +[Unit] +Description=I hate money +Requires=network.target postgresql.service +After=network.target postgresql.service + +[Service] +Type=simple +User=ihatemoney +WorkingDirectory=/var/lib/ihatemoney +ExecStart=/var/lib/ihatemoney/bin/gunicorn -c /etc/ihatemoney/gunicorn.conf.py ihatemoney.wsgi:application +SyslogIdentifier=ihatemoney + +[Install] +WantedBy=multi-user.target |
