1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/fcron/fcron.initd
FollieHiyuki 314fc950b9 community/fcron: improve
- Set fifodir to /run to be the same as piddir (the default is
  $localstatedir/run)
- Simplify init script, allow customization of command_args
- Correct init script permission to 0755 (was 0775)
- Recompile systab file on post-install and post-upgrade events
- Set fcron user HOME to /var/spool/fcron
2022-11-19 07:09:59 +00:00

15 lines
318 B
Bash

#!/sbin/openrc-run
# Initscript by Diaz Devera Victor <vitronic2@gmail.com>
# Copyright 2014 Alpine Linux
# Distributed under the terms of the GNU General Public License v2
name="$SVCNAME"
pidfile="/run/$SVCNAME.pid"
command="/usr/sbin/$SVCNAME"
command_args="$CRON_OPTS"
depend() {
need localmount
need logger
}