Skip to content

Commit

Permalink
Add receptor_user/receptor_group (#68)
Browse files Browse the repository at this point in the history
Service should be run as receptor_user and receptor_group
  • Loading branch information
janorn authored Jan 22, 2024
1 parent a945c87 commit 798c4e3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion roles/setup/templates/systemd_receptor.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ After=network.target
StartLimitIntervalSec=0

[Service]
User={{ receptor_user }}
Group={{ receptor_group }}
ExecStart={{ receptor_install_dir }}/receptor --config {{ receptor_config_dir }}/receptor.conf
StandardOutput=append:{{ receptor_log_dir }}/{{ receptor_service_name }}.log
Restart=on-failure

[Install]
WantedBy=multi-user.target
Alias={{ receptor_service_name }}.service
Alias={{ receptor_service_name }}.service

0 comments on commit 798c4e3

Please sign in to comment.