Sha256: a541afc5af89e995b9f059f65e92c86be744984e5510c018dc29641533255b63

Contents?: true

Size: 670 Bytes

Versions: 4

Compression:

Stored size: 670 Bytes

Contents

# sudo ln -s /home/pi/src/procon_bypass_man/examples/pbm.service /etc/systemd/system/pbm.service
# Usage:
#   systemctl daemon-reload
#   systemctl enable pbm.service
#   systemctl start pbm.service
#   systemctl status pbm.service
#   systemctl restart pbm.service
# Debug:
#   journalctl -xe -f
# TODO:
#   do not make PIDFILE

[Unit]
Description=PBM
# After=network-online.target
After=network.target

[Service]
Type=simple
# PIDFile=/home/pi/src/procon_bypass_man/pbm_pid
# WatchdogSec=60
WorkingDirectory=/home/pi/src/procon_bypass_man
ExecStart=/home/pi/.rbenv/versions/3.0.1/bin/ruby examples/practical/app.rb
Restart=always

[Install]
WantedBy=multi-user.target

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
procon_bypass_man-0.1.6 examples/pbm.service
procon_bypass_man-0.1.5 examples/pbm.service
procon_bypass_man-0.1.4 examples/pbm.service
procon_bypass_man-0.1.3 examples/pbm.service