Added --errors-only to service files

This commit is contained in:
deajan 2016-11-17 19:44:31 +01:00
parent fddba8ee93
commit 8648980dd3
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ start() {
for cfgfile in $confdir/*.conf
do
if [ -f $progpath/$progexec ]; then
$progpath/$progexec $cfgfile --on-changes > /dev/null 2>&1 &
$progpath/$progexec $cfgfile --on-changes --errors-only > /dev/null 2>&1 &
else
echo "Cannot find $prog executable in $progpath"
exit 1

View File

@ -6,7 +6,7 @@ Wants=network-online.target
[Service]
Type=simple
ExecStart=/usr/local/bin/osync.sh /etc/osync/%i --on-changes --silent
ExecStart=/usr/local/bin/osync.sh /etc/osync/%i --on-changes --errors-only
[Install]
WantedBy=multi-user.target