4
homedir/.config/ssm/services/chameleon
Normal file
4
homedir/.config/ssm/services/chameleon
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env ssm
|
||||
|
||||
service_command = /home/fbt/.local/bin/chameleon -d "$HOME/pics/elite"
|
||||
service_reload_signal = 10
|
7
homedir/.config/ssm/services/ufwd-private
Executable file
7
homedir/.config/ssm/services/ufwd-private
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env watchman
|
||||
|
||||
service_tmpfiles=( "$XDG_RUNTIME_DIR/ufwd-private:dir" )
|
||||
|
||||
#service_respawn='true'
|
||||
service_command='/usr/bin/ufwd'
|
||||
service_args=( -n -c -d $XDG_RUNTIME_DIR/ufwd-private )
|
14
homedir/.config/ssm/services/ufwd-scn
Executable file
14
homedir/.config/ssm/services/ufwd-scn
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env watchman
|
||||
|
||||
service_tmpfiles=( "$XDG_RUNTIME_DIR/scn:dir" )
|
||||
|
||||
#service_respawn='true'
|
||||
dirs=( $(find /home/fbt/.local/share/Steam/userdata/22500463/760/remote -name 'screenshots') )
|
||||
dirs+=( "$XDG_RUNTIME_DIR/scn" )
|
||||
|
||||
|
||||
service_command = $HOME/bin/ufwd -c \
|
||||
$(printf -- '-d %s ' "${dirs[@]}") \
|
||||
-- -R -A "Screenshots; $(date +%Y.%m.%d) [$RANDOM]"
|
||||
|
||||
service_cgroup_cleanup = 1
|
37
homedir/.config/ssm/ssm.conf
Normal file
37
homedir/.config/ssm/ssm.conf
Normal file
@@ -0,0 +1,37 @@
|
||||
# This is actually a bash script
|
||||
|
||||
# Where to search for services, works as a PATH-like array.
|
||||
#service_path = "$XDG_CONFIG_HOME/ssm/services" /etc/ssm/services "$rundir/services" /usr/share/ssm/services
|
||||
|
||||
# Service defaults
|
||||
# Respawn the service if it exits
|
||||
#service_respawn = 0
|
||||
|
||||
# Working directory
|
||||
#service_workdir = '/'
|
||||
|
||||
# How long do we wait for the service to stop
|
||||
#service_stop_timeout = 30
|
||||
|
||||
# How long do we wait for the service to get ready
|
||||
#service_ready_timeout = 15
|
||||
|
||||
# Signals to pass through to the service under the respawner
|
||||
#service_signals = 1 10 12
|
||||
|
||||
# The signal to send to reload the service
|
||||
#service_reload_signal = 1
|
||||
|
||||
# The signal to send to stop the service
|
||||
#service_stop_signal = 15
|
||||
|
||||
# Enable cgroup-related functions
|
||||
cgroups = 1
|
||||
|
||||
# Refuse to start the service if its cgroup is not empty
|
||||
service_cgroup_exclusive = 1
|
||||
|
||||
# Wait on all the members of the cgroup to exit when stopping the service.
|
||||
service_cgroup_wait = 1
|
||||
|
||||
service_cgroup_strict = 0
|
Reference in New Issue
Block a user