Merge 2 workflows into one
This commit is contained in:
17
configs/ncsambawatcher.service.default
Normal file
17
configs/ncsambawatcher.service.default
Normal file
@@ -0,0 +1,17 @@
|
||||
[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
|
||||
Reference in New Issue
Block a user