This commit is contained in:
parent
9c269f2612
commit
094b653c2b
3 changed files with 65 additions and 0 deletions
5
support/postinst
Normal file
5
support/postinst
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
systemctl daemon-reload
|
||||
systemctl restart bitvis-http.service
|
||||
systemctl enable bitvis-http.service
|
13
support/systemd.service
Normal file
13
support/systemd.service
Normal file
|
@ -0,0 +1,13 @@
|
|||
[Unit]
|
||||
Description=Virtual BitPanel over HTTP
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=10s
|
||||
ExecStart=/usr/bin/bitvis-http
|
||||
DynamicUser=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue