# /etc/systemd/system/localauth.service [Unit] Description=LocalAuth admin server (offline license issuance) After=network.target [Service] Type=simple WorkingDirectory=/opt/localauth ExecStart=/opt/localauth/localauth-server -datadir /opt/localauth/data -webdir /opt/localauth/web Restart=on-failure RestartSec=3 User=root [Install] WantedBy=multi-user.target