mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-09-15 03:54:58 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
24
roles/documize/templates/documize.service.j2
Normal file
24
roles/documize/templates/documize.service.j2
Normal file
@@ -0,0 +1,24 @@
|
||||
[Unit]
|
||||
Description=Documize Documentation Manager
|
||||
After=network.target postgresql.service mariadb.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User={{ documize_user }}
|
||||
ExecStart={{ documize_root_dir }}/bin/documize {{ documize_root_dir }}/etc/documize.conf
|
||||
WorkingDirectory={{ documize_root_dir }}/tmp
|
||||
Restart=always
|
||||
NoNewPrivileges=true
|
||||
PrivateDevices=true
|
||||
ProtectControlGroups=true
|
||||
ProtectHome=true
|
||||
ProtectKernelModules=true
|
||||
ProtectKernelTunables=true
|
||||
ProtectSystem=strict
|
||||
RestrictRealtime=true
|
||||
ReadWritePaths=/run
|
||||
PrivateTmp=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Reference in New Issue
Block a user