1 2 3 4 5 6 7 8 9 10 11 12 13 14
[Unit] Description=Self-hosted file/code/media sharing website After=network.target [Service] User=linx Group=linx ExecStart=/usr/bin/linx-server -config /etc/linx-server/config.ini -allowMissingConfig WorkingDirectory=/var/lib/linx-server Restart=always RestartSec=2s [Install] WantedBy=multi-user.target