Skip to content

Commit

Permalink
nc-notify-updates: simplify parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoparker committed Aug 17, 2017
1 parent 5d3357c commit ba95342
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions etc/nextcloudpi-config.d/nc-notify-updates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#

ACTIVE_=yes
NOTIFYINTERVAL_=60
CHECKINTERVAL=60
DESCRIPTION="Notify in NC when a NextCloudPi update is available"

NCDIR=/var/www/nextcloud
Expand Down Expand Up @@ -88,8 +88,8 @@ configure()
Description=Timer notify NCP updates in browser
[Timer]
OnBootSec=${NOTIFYINTERVAL_}min
OnUnitActiveSec=${NOTIFYINTERVAL_}min
OnBootSec=${CHECKINTERVAL}min
OnUnitActiveSec=${CHECKINTERVAL}min
Unit=nc-notify-updates.service
[Install]
Expand Down

0 comments on commit ba95342

Please sign in to comment.