2019-04-12 18:01:35 +00:00
|
|
|
[Unit]
|
|
|
|
Description=autocat3 Service
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=autocat
|
|
|
|
Type=simple
|
2019-04-30 19:31:33 +00:00
|
|
|
RuntimeDirectory=autocat
|
2019-04-12 18:01:35 +00:00
|
|
|
WorkingDirectory=/var/lib/autocat/autocat3
|
2019-04-19 16:10:51 +00:00
|
|
|
ExecStartPre=-/usr/bin/mkdir /var/run/autocat
|
2019-04-30 19:31:33 +00:00
|
|
|
ExecStart=/var/lib/autocat/.local/bin/pipenv run python CherryPyApp.py
|
2019-04-12 18:01:35 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|