-
-
Notifications
You must be signed in to change notification settings - Fork 321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating 'wings service-install' command #136
base: develop
Are you sure you want to change the base?
Conversation
so I need to install wings to install wings? makes sense. |
no, you install wings and enable the wing as a service, automatically, you dont need to create wings.service, the code create it for you |
oh that actually makes sense, wouldn't it be better to call it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this was accepted this is a change that would be needed
cmd/service_install.go
Outdated
return | ||
} | ||
|
||
command := exec.Command("systemctl", "enable", "--now", serviceFile) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are missing a systemctl daemon-reload
after adding the systemd files. You need to reload after creating the file before you can start the service
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes i did really forget that, thanks.
command to create wings service automatically facilitating the installation process.