Write redshift PID file.
This commit is contained in:
@@ -4,3 +4,4 @@ redshift_colortemp="6000:3300"
|
|||||||
|
|
||||||
log "starting redshift-gtk"
|
log "starting redshift-gtk"
|
||||||
redshift-gtk -b 1 -l "$redshift_lat_long" -t "$redshift_colortemp" & &>> "$LOGFILE"
|
redshift-gtk -b 1 -l "$redshift_lat_long" -t "$redshift_colortemp" & &>> "$LOGFILE"
|
||||||
|
printf '%s' $! > "$RUNDIR"/redshift.pid
|
||||||
|
|||||||
Reference in New Issue
Block a user