mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2026-09-30 03:31:27 +02:00
Remove syslog.target from service file, this target hasn't existed for over a decade. https://github.com/systemd/systemd/blob/6aa8d43ade72e24c9426e604f7fc4b7582b9db7c/NEWS#L72-L73
23 lines
466 B
Plaintext
23 lines
466 B
Plaintext
# Systemd service file for oauth2-proxy daemon
|
|
#
|
|
# Date: Feb 9, 2016
|
|
# Author: Srdjan Grubor <sgnn7@sgnn7.org>
|
|
|
|
[Unit]
|
|
Description=oauth2-proxy daemon service
|
|
After=network.target
|
|
|
|
[Service]
|
|
# www-data group and user need to be created before using these lines
|
|
User=www-data
|
|
Group=www-data
|
|
|
|
ExecStart=/usr/local/bin/oauth2-proxy --config=/etc/oauth2-proxy.cfg
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
KillMode=process
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|