mirror of
https://blitiri.com.ar/repos/chasquid
synced 2026-01-08 17:51:57 +00:00
etc: Add a skeleton configuration structure
This patch adds an "etc" directory, with a basic configuration structure that can be used for an initial installation.
This commit is contained in:
23
etc/systemd/system/chasquid.service
Normal file
23
etc/systemd/system/chasquid.service
Normal file
@@ -0,0 +1,23 @@
|
||||
[Unit]
|
||||
Description=chasquid mail daemon (service)
|
||||
Requires = chasquid-smtp.socket chasquid-submission.socket
|
||||
|
||||
[Service]
|
||||
ExecStart = /usr/local/bin/chasquid \
|
||||
|
||||
# -v=3 \
|
||||
# --log_dir=/var/log/chasquid/ \
|
||||
# --alsologtostderr \
|
||||
|
||||
Type = simple
|
||||
Restart = always
|
||||
|
||||
User = mail
|
||||
Group = mail
|
||||
|
||||
# Simple security measures just in case.
|
||||
ProtectSystem = full
|
||||
|
||||
[Install]
|
||||
WantedBy = multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user