diff options
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index e5e8f35..f26da35 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -87,4 +87,14 @@ class cherrymusic { Exec['systemctl-enable-cherrymusic'], ], } + + cron { "cherrymusic-update": + command => "/usr/local/share/cherrymusic/cherrymusic --update", + user => cherrymusic, + hour => "3", + minute => "30", + ensure => present, + environment => [ 'SHELL=/bin/bash' ], + require => Service['cherrymusic@cherrymusic'], + } } |