[Unit] Description=DocSys - Document Management System After=network.target [Service] Type=simple WorkingDirectory=/home/johan/dev/docsys ExecStart=/home/johan/dev/docsys/docsys Restart=on-failure RestartSec=5 # Environment Environment=HOME=/home/johan # Logging StandardOutput=journal StandardError=journal SyslogIdentifier=docsys [Install] WantedBy=default.target