29 lines
722 B
Desktop File
29 lines
722 B
Desktop File
[Unit]
|
|
Description=Wild Central Service
|
|
Documentation=https://mywildcloud.org
|
|
After=network.target
|
|
Wants=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=wildcloud
|
|
Group=wildcloud
|
|
ExecStart=/usr/bin/wild-central
|
|
Restart=always
|
|
RestartSec=5
|
|
Environment=WILD_CENTRAL_DATA_DIR=/var/lib/wild-central
|
|
Environment=WILD_CENTRAL_STATIC_DIR=/var/www/html/wild-central
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=wild-central
|
|
|
|
# Security settings
|
|
NoNewPrivileges=yes
|
|
PrivateTmp=yes
|
|
ProtectSystem=full
|
|
ProtectHome=yes
|
|
ReadWritePaths=/etc/wild-central /var/lib/wild-central /var/log/wild-central /etc/dnsmasq.d /etc/systemd/resolved.conf.d /etc/haproxy /etc/nftables.d /etc/wireguard
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|