[Unit] Description=A service which scan Nextcloud folders After=network.target docker.service Requires=docker.service [Service] ExecStart=/path/to/folder/ncsambawatcher WorkingDirectory=/path/to/folder/ Restart=always User=root Group=root StandardOutput=journal StandardError=journal SyslogIdentifier=ncsambawatcher [Install] WantedBy=multi-user.target