Skip to content

Commit

Permalink
Added systemd config sample
Browse files Browse the repository at this point in the history
  • Loading branch information
0xef53 committed Oct 2, 2017
1 parent fa138af commit 6e82901
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions systemd/foreman.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[Unit]
Description=An NSQ job manager and runner
Documentation=https://github.com/0xef53/foreman
ConditionFileNotEmpty=/etc/foreman/foreman.conf

[Service]
Restart=always
RestartSec=0.5
ExecStart=/usr/bin/foreman -c /etc/foreman/foreman.conf --log-level ERROR

[Install]
WantedBy=multi-user.target

0 comments on commit 6e82901

Please sign in to comment.