Skip to content

Commit

Permalink
getting systemd unit files to notify type
Browse files Browse the repository at this point in the history
  • Loading branch information
petersilva committed Dec 5, 2024
1 parent 7ad7332 commit 7c3ca6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion debian/metpx-sr3.service
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ After=network-online.target local-fs.target remote-fs.target
Requires=network-online.target

[Service]
Type=Notify
Type=notify
ExecStart=/usr/bin/sr3 start
User=sarra
Group=sarra
Expand Down
4 changes: 1 addition & 3 deletions tools/metpx-sr3_user.service
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,8 @@ Description=Sarracenia V3 File Copy Service
After=network.target

[Service]
Type=forking
Type=notify
ExecStart=/usr/bin/sr3 start
User=%i
Group=users

ExecReload=/usr/bin/sr3 reload
ExecStop=/usr/bin/sr3 stop
Expand Down

0 comments on commit 7c3ca6e

Please sign in to comment.