Added --errors-only to service files

pull/84/head
deajan 8 years ago
parent fddba8ee93
commit 8648980dd3

@ -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

@ -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

Loading…
Cancel
Save