mirror of
https://github.com/unpoller/unpoller.git
synced 2026-10-17 11:45:41 +02:00
Rename templates
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# Systemd service unit for {{BINARY}}.
|
||||
|
||||
[Unit]
|
||||
Description={{BINARY}} - {{DESC}}
|
||||
After=network.target
|
||||
Requires=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/{{BINARY}} $DAEMON_OPTS
|
||||
EnvironmentFile=-/etc/default/{{BINARY}}
|
||||
EnvironmentFile=-/etc/sysconfig/{{BINARY}}
|
||||
Restart=on-error
|
||||
StandardOutput=syslog
|
||||
StandardError=syslog
|
||||
SyslogIdentifier={{BINARY}}
|
||||
Type=simple
|
||||
User=nobody
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -1,20 +0,0 @@
|
||||
# Sytemd service unit for unifi-poller.
|
||||
|
||||
[Unit]
|
||||
Description=UniFi Poller - Stores UniFi Metrics in InfluxDB
|
||||
After=network.target
|
||||
Requires=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/unifi-poller $DAEMON_OPTS
|
||||
EnvironmentFile=-/etc/default/unifi-poller
|
||||
EnvironmentFile=-/etc/sysconfig/unifi-poller
|
||||
Restart=on-error
|
||||
StandardOutput=syslog
|
||||
StandardError=syslog
|
||||
SyslogIdentifier=unifi-poller
|
||||
Type=simple
|
||||
User=nobody
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user