Skip to content

Commit

Permalink
Bug
Browse files Browse the repository at this point in the history
- the following commands
  systemctl enable simple-daemon.service
  systemctl enable forking-daemon.service
generate the following error message
  "Failed to execute operation: Invalid argument"

Actions
- corrected typo on WantedBy from multiuser.agent to multi-user.target in both service files

Fixes
- this allows the following command to work properly
  systemctl enable simple-daemon.service
  systemctl enable forking-daemon.service
  • Loading branch information
edmundoferreira committed Mar 9, 2017
1 parent 8bdf2d4 commit 48700ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion forking-daemon.service
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ ExecStart=/usr/bin/daemon \
ExecReload=/bin/kill -HUP $MAINPID

[Install]
WantedBy=multiuser.agent
WantedBy=multi-user.target
2 changes: 1 addition & 1 deletion simple-daemon.service
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ User=root
ExecReload=/bin/kill -HUP $MAINPID

[Install]
WantedBy=multiuser.agent
WantedBy=multi-user.target

0 comments on commit 48700ca

Please sign in to comment.