Skip to content

Commit

Permalink
added systemd service
Browse files Browse the repository at this point in the history
  • Loading branch information
martensson committed Feb 21, 2019
1 parent c0b876e commit 21fa684
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions f5elastic.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[Unit]
Description=f5elastic
After=network.target

[Service]
Type=simple
User=root
Group=root
LimitNOFILE=20480

Restart=on-failure
RestartSec=10
startLimitIntervalSec=60

WorkingDirectory=/usr/local/bin
ExecStart=/usr/local/bin/f5elastic

[Install]
WantedBy=multi-user.target

0 comments on commit 21fa684

Please sign in to comment.