add service unit
This commit is contained in:
parent
255451b8e3
commit
becbb5d4d3
|
|
@ -0,0 +1,15 @@
|
|||
[Unit]
|
||||
Description=Lorahandler web service
|
||||
After=syslog.target
|
||||
After=network.target redis.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=beieli
|
||||
Group=beieli
|
||||
WorkingDirectory=/home/beieli/lorahandler
|
||||
ExecStart=/home/beieli/lorahandler/lorahandler
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Reference in New Issue