[2.2] Improve systemd services dependencies#233
Merged
slowfranklin merged 1 commit intobranch-netatalk-2-2from Apr 4, 2023
Merged
[2.2] Improve systemd services dependencies#233slowfranklin merged 1 commit intobranch-netatalk-2-2from
slowfranklin merged 1 commit intobranch-netatalk-2-2from
Conversation
This was referenced Mar 1, 2023
|
where can i find distrib/initscripts/afpd.service.tmpl and edit it ? |
Member
Author
@marcuskuenzel1971 I suggest you edit the *.service files that are installed on your system already. If you run the command Edit the file (requires sudo) then save and run the command |
- Depend on network-online in order for atalkd to start up more consistently - Remove the dependence on syslog since it is socket activated
23df0fa to
dbae6b4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
atalkd will fail to start unless a network connection is established. All other DDP services depend on atalkd to have started first, so make them do the same.
This is critical for when netatalk is running on a device that only has a wlan interface, such as an RPi Zero W.
Addresses #232
Also pulls in the improvement from downstream https://sources.debian.org/src/netatalk/3.1.14~ds-1/debian/patches/104_modernize_systemd.patch/