X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=examples%2Fpublic-inbox-imapd%40.service;h=300019a856611fc4159ff69b164ea8d0b254ddbd;hb=e28f33dc1b6e6a296946c0c58b43900c6cbd07f7;hp=e0446ed33f2367496dac1e035bf230330f3b288c;hpb=14451d6ce4a27e9fd5f16fa655f6745ca8c87920;p=public-inbox.git diff --git a/examples/public-inbox-imapd@.service b/examples/public-inbox-imapd@.service index e0446ed3..300019a8 100644 --- a/examples/public-inbox-imapd@.service +++ b/examples/public-inbox-imapd@.service @@ -1,4 +1,7 @@ # ==> /etc/systemd/system/public-inbox-imapd@.service <== +# Consider looking at public-inbox-netd@.service instead of this file +# to simplify management when serving multiple protocols. +# # Since SIGUSR2 upgrades do not work under systemd, this service file # allows starting two simultaneous services during upgrade time # (e.g. public-inbox-imapd@1 public-inbox-imapd@2) with the intention @@ -7,10 +10,8 @@ [Unit] Description = public-inbox-imapd IMAP server %i -Wants = public-inbox-imapd.socket public-inbox-imaps.socket \ -public-inbox-imap-onion.socket -After = public-inbox-imapd.socket public-inbox-imaps.socket \ -public-inbox-imap-onion.socket +Wants = public-inbox-imapd.socket +After = public-inbox-imapd.socket [Service] Environment = PI_CONFIG=/home/pi/.public-inbox/config \ @@ -29,8 +30,7 @@ StandardError = syslog # simultaneous services NonBlocking = true -Sockets = public-inbox-imapd.socket public-inbox-imaps.socket \ -public-inbox-imap-onion.socket +Sockets = public-inbox-imapd.socket KillSignal = SIGQUIT User = nobody