add systemd service
This commit is contained in:
parent
a2c58a6cc6
commit
69dfeab125
1 changed files with 12 additions and 0 deletions
12
nelle-observer-api.service
Normal file
12
nelle-observer-api.service
Normal file
|
@ -0,0 +1,12 @@
|
|||
[Unit]
|
||||
Description=nelle.observer API Daemon
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/java -jar personalSiteAPI-all.jar
|
||||
WorkingDirectory={PathTo}/nelle-observer/backend/build/libs/
|
||||
SyslogIdentifier=personalSiteAPI
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in a new issue