🧑‍💻 Updated systemd config

develop
Maxim Lebedev 9 months ago
parent 851092b52c
commit 829b0fad05
Signed by: toby3d
GPG Key ID: 1F14E25B7C119FC5
  1. 28
      init/indieauth.service

@ -1,22 +1,18 @@
[Service]
ExecStart=%h/indieauth/indieauth
ExitType=main
Group=ubuntu
PermissionsStartOnly=true
Restart=always
RestartSec=1
StandardError=syslog
StandardOutput=syslog
SyslogIdentifier=indieauth
Type=simple
WorkingDirectory=%h/indieauth
[Unit]
Description=Personal IndieAuth server instance
Documentation=https://indieauth.net/source/
StartLimitBurst=5
StartLimitIntervalSec=0
After=syslog.target
After=network.target
[Service]
RestartSec=2s
Type=simple
User=indieweb
Group=indieweb
WorkingDirectory=/var/lib/indieauth/
ExecStart=/usr/local/bin/indieauth --config=/etc/indieauth/config.yml
Restart=always
[Install]
Alias=indieauth
WantedBy=multi-user.target
WantedBy=multi-user.target
Loading…
Cancel
Save