Sha256: 42bb53d9badf84c7b2542ae9709a370705313b6d97bc171968898ea49471bdfc

Contents?: true

Size: 451 Bytes

Versions: 1

Compression:

Stored size: 451 Bytes

Contents

[Unit]
Description=God: A process monitoring framework in Ruby
After=network.target

[Service]
Environment="CONF_FILE=<%= @config %>"
Environment="PID_FILE=<%= @pid %>"
Environment="LOG_FILE=<%= @log %>"
Environment="LOG_LEVEL=<%= @pid %>"
EnvironmentFile=-/etc/sysconfig/god
PIDFile=$PID_FILE
ExecStart=<%= @god_bin %> -c $CONF_FILE -P $PID_FILE -l $LOG_FILE --log-level $LOG_LEVEL
ExecStop=<%= @god_bin %> quit

[Install]
WantedBy=multi-user.target

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
itamae-plugin-recipe-god-0.2.5 lib/itamae/plugin/recipe/god/templates/etc/systemd/system/god.service.erb