split-init #9

Open
whirigoyen wants to merge 7 commits from split-init into master
Owner

SystemD service + readme update

SystemD service + readme update
whirigoyen added 3 commits 2022-05-02 16:49:07 +02:00
whirigoyen added 1 commit 2022-08-11 16:45:34 +02:00
whirigoyen added 1 commit 2022-08-11 17:10:11 +02:00
whirigoyen added 1 commit 2022-08-12 15:08:32 +02:00
Owner

I don't understand why prevent /etc/init.d/minifirewall :(
We can "map" command to a systemd-unit call, we can write a warning, but I don't see the reason to absolutely prevent it

I don't understand why prevent /etc/init.d/minifirewall <action> :( We can "map" command to a systemd-unit call, we can write a warning, but I don't see the reason to absolutely prevent it
Owner

I have reviewd the entire code changed, for me it can be merged.

There is no regression.

I have reviewd the entire code changed, for me it can be merged. There is no regression.
Author
Owner

I said in my commit message "Prevent direct call to minifirewall script in favor of systemctl or /etc/init.d/minifirewall stub".

I don't want to prevent direct call to /etc/init.d/minifirewall (which calls systemd as backend) but prevent call to /usr/local/sbin/minifirewall [start|stop|restart].

This is because (for example) if we stop minifirewall by calling the script directly, systemd will not be notified that minifirewall is stopped and will display wrong status information.

I said in my commit message "Prevent direct call to minifirewall script in favor of systemctl or /etc/init.d/minifirewall stub". I don't want to prevent direct call to /etc/init.d/minifirewall (which calls systemd as backend) but prevent call to /usr/local/sbin/minifirewall [start|stop|restart]. This is because (for example) if we stop minifirewall by calling the script directly, systemd will not be notified that minifirewall is stopped and will display wrong status information.
whirigoyen added 1 commit 2023-01-10 17:52:49 +01:00
This pull request has changes conflicting with the target branch.
  • CHANGELOG.md
  • minifirewall
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b split-init master
git pull origin split-init

Step 2:

Merge the changes and update on Forgejo.
git checkout master
git merge --no-ff split-init
git push origin master
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: evolix/minifirewall#9
No description provided.