mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
- 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
15 lines
318 B
Bash
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
|
|
}
|