Add systemd service config
This commit is contained in:
parent
1b0e3a1ad6
commit
2429d31693
1 changed files with 12 additions and 0 deletions
12
actioner.service
Normal file
12
actioner.service
Normal file
|
@ -0,0 +1,12 @@
|
|||
[Unit]
|
||||
Description=Do Stuff
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=http
|
||||
ExecStart=/usr/bin/pipenv run start
|
||||
WorkingDirectory=/opt/actioner/
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in a new issue