mirror of http://192.168.10.4:8099/sane/dpkg.git
16 lines
314 B
SYSTEMD
16 lines
314 B
SYSTEMD
|
[Unit]
|
||
|
Description=lanxum webapi service
|
||
|
|
||
|
[Service]
|
||
|
Type=forking
|
||
|
User=root
|
||
|
ExecStart=/opt/lanxumwebapi/bin/server.sh start
|
||
|
ExecStop=/opt/lanxumwebapi/bin/server.sh stop
|
||
|
ExecReload=/opt/lanxumwebapi/bin/server.sh restart
|
||
|
Restart=always
|
||
|
RestartSSec=10
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|
||
|
Alias=lanxumwebapiserver
|