Fix service creation
This commit is contained in:
@@ -1231,6 +1231,7 @@ setServiceVars() {
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
debug "service_type=$service_type, USER=$USER"
|
||||||
if [[ $service_type == "system" && $USER != "root" ]]; then
|
if [[ $service_type == "system" && $USER != "root" ]]; then
|
||||||
SERVICE_FNAME="$service_dir/$service_name@.service"
|
SERVICE_FNAME="$service_dir/$service_name@.service"
|
||||||
TIMER_FNAME="$service_dir/$service_name@.timer"
|
TIMER_FNAME="$service_dir/$service_name@.timer"
|
||||||
|
|||||||
Reference in New Issue
Block a user