Add service unit

This commit is contained in:
sfigato 2020-11-19 00:09:36 +01:00
parent 4717378b8d
commit b4efc6dd51
Signed by: blallo
GPG Key ID: 0CBE577C9B72DC3F

11
openportal.service Normal file
View File

@ -0,0 +1,11 @@
[Unit]
Description=Service to allow version upgrade of openpod
Requires=network.target
After=network.target
[Service]
ExecStart=/usr/local/bin/openportal
EnvironmentFile=/etc/openportal.env
[Install]
WantedBy=multi-user.target