Skip to content

Commit

Permalink
Added systemd service unit file for WASEProxy
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspatzke committed Oct 14, 2016
1 parent 4f99df2 commit 3c1dabf
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions waseproxy.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[Unit]
Description=WASE Proxy
After=network.target

[Service]
EnvironmentFile=/etc/default/wase
ExecStart=/opt/WASE/WASEProxy.py -e ${ES_HOST}:80 -i ${ES_INDEX} ${PARAMS}
WorkingDirectory=/opt/WASE
User=wase
Restart=always
RestartSec=10

[Install]
WantedBy=multi-user.target

0 comments on commit 3c1dabf

Please sign in to comment.