🔧 Created stub systemd service

This commit is contained in:
Maxim Lebedev 2023-03-15 05:26:45 +06:00
parent 28a1498f76
commit 1ee4956afd
Signed by: toby3d
GPG key ID: 1F14E25B7C119FC5

15
init/hub.service Normal file
View file

@ -0,0 +1,15 @@
[Unit]
Description=WebSub Hub
After=syslog.target
After=network.target
[Service]
EnvironmentFile=/etc/hub/env
RestartSec=2s
Type=simple
WorkingDirectory=/etc/hub/
ExecStart=/etc/hub/hub
Restart=always
[Install]
WantedBy=multi-user.target