initial commit
This commit is contained in:
commit
f6021cecbb
6 changed files with 259 additions and 0 deletions
17
install_linux.sh
Executable file
17
install_linux.sh
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
#!/bin/sh
|
||||
cat <<EOF> /etc/systemd/system/smtp_auth_sync.service
|
||||
[Unit]
|
||||
Description=SMTP Authentication Sync
|
||||
After=syslog.target
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/local/sbin/smtp_auth_sync.pl
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
systemctl enable smtp_auth_sync
|
||||
systemctl start smtp_auth_sync
|
||||
Loading…
Add table
Add a link
Reference in a new issue