|
|
@ -438,8 +438,10 @@ impl<D, P: AsRef<Path>> ImplementationBuilder<SystemdSocketService<D, P>> for De |
|
|
|
fn prerequisites(_resource: &SystemdSocketService<D, P>) -> Self::Prerequisites {}
|
|
|
|
|
|
|
|
type Implementation = (
|
|
|
|
// First three could be parallel
|
|
|
|
FileSymbol<PathBuf, String>,
|
|
|
|
SystemdUserSessionSymbol<'static, String, StdCommandRunner>,
|
|
|
|
OwnerSymbol<StdCommandRunner, StdCommandRunner, PathBuf, String>,
|
|
|
|
UserServiceSymbol<'static, PathBuf, String, StdCommandRunner>,
|
|
|
|
);
|
|
|
|
fn create(
|
|
|
@ -462,6 +464,11 @@ impl<D, P: AsRef<Path>> ImplementationBuilder<SystemdSocketService<D, P>> for De |
|
|
|
},
|
|
|
|
),
|
|
|
|
SystemdUserSessionSymbol::new(user_name.0.clone(), &StdCommandRunner),
|
|
|
|
OwnerSymbol::new(
|
|
|
|
conf_path.as_ref().parent().unwrap().to_path_buf(),
|
|
|
|
user_name.0.clone(),
|
|
|
|
StdCommandRunner,
|
|
|
|
),
|
|
|
|
UserServiceSymbol::new(
|
|
|
|
socket_path.clone().into(),
|
|
|
|
user_name.0.clone(),
|
|
|
|