add systemd files

This commit is contained in:
RLF
2024-01-10 15:35:01 -05:00
parent f0f8a9c596
commit 03aa880066
2 changed files with 32 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
[Unit]
Description=UnomonD Service
# Notes:
# The User and/or Group needs access to dialout for the TTY
# ExecStart can be changed to /opt or /srv if you prefer
[Service]
Type=simple
User=nobody
Group=nobody
ExecStart=/usr/local/bin/unomond -d -c /usr/local/etc/unomond.conf
Restart=on-failure
[Install]
WantedBy=default.target