Lines Matching defs:systemd
43 type systemd struct { struct
44 i Interface
45 platform string
46 *Config
59 func (s *systemd) String() string {
66 func (s *systemd) Platform() string {
70 func (s *systemd) configPath() (cp string, err error) {
88 func (s *systemd) getSystemdVersion() int64 {
108 func (s *systemd) hasOutputFileSupport() bool {
122 func (s *systemd) template() *template.Template {
132 func (s *systemd) isUserService() bool {
136 func (s *systemd) Install() error {
192 func (s *systemd) Uninstall() error {
207 func (s *systemd) Logger(errs chan<- error) (Logger, error) {
213 func (s *systemd) SystemLogger(errs chan<- error) (Logger, error) {
217 func (s *systemd) Run() (err error) {
232 func (s *systemd) Status() (Status, error) {
262 func (s *systemd) Start() error {
266 func (s *systemd) Stop() error {
270 func (s *systemd) Restart() error {
274 func (s *systemd) run(action string, args ...string) error {
281 func (s *systemd) runAction(action string) error {