003 File Manager
Current Path:
/usr/local/etc/rc.d
usr
/
local
/
etc
/
rc.d
/
📁
..
📄
apache24
(5.99 KB)
📄
htcacheclean
(1.69 KB)
📄
mysql-server
(2.16 KB)
📄
php-fpm
(1.18 KB)
📄
proftpd
(661 B)
📄
salt_api
(556 B)
📄
salt_master
(1.15 KB)
📄
salt_minion
(1.14 KB)
📄
salt_proxy
(1.5 KB)
📄
salt_syndic
(576 B)
Editing: salt_master
#!/bin/sh # Salt Master startup script # # PROVIDE: salt_master # REQUIRE: LOGIN # KEYWORD: shutdown # Add the following to /etc/rc.conf[.local] to enable this service # # salt_master_enable (bool): Set to NO by default. # Set it to YES to enable salt_master. # salt_master_paths (string): Set to "/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin" by default. # Default $PATH for salt_master. # salt_master_eggcache (string): Set to "/tmp" by default. # Allows defining egg cache directory to fix runtime on diskless systems. # . /etc/rc.subr name=salt_master rcvar=salt_master_enable load_rc_config ${name} : ${salt_master_enable:=NO} : ${salt_master_paths=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin} : ${salt_master_pidfile:=/var/run/salt-master.pid} : ${salt_master_eggcache=/tmp} command="/usr/local/bin/salt-master" command_interpreter="/usr/local/bin/python3.8" required_files="/usr/local/etc/salt" command_args="-c ${required_files} -d" pidfile=${salt_master_pidfile} export PATH="${salt_master_paths}" export PYTHON_EGG_CACHE="${salt_master_eggcache}" run_rc_command "$1"
Upload File
Create Folder