mirror of https://github.com/hykilpikonna/AquaDX
[+] Example systemd service
parent
e52c971aed
commit
3f95678098
|
@ -0,0 +1,13 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Aqua Server
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
WorkingDirectory=/apps/aqua
|
||||||
|
ExecStart=/usr/bin/java -jar aqua.jar
|
||||||
|
User=nobody
|
||||||
|
Type=simple
|
||||||
|
Restart=on-failure
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Reference in New Issue