chore: adjust systemd attribute order
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
ea719292e5
commit
1f84cb7538
@ -9,7 +9,6 @@ freshrss_base_url: "http://localhost/"
|
|||||||
freshrss_user: "freshrss"
|
freshrss_user: "freshrss"
|
||||||
freshrss_user_home: "/home/{{ freshrss_user }}"
|
freshrss_user_home: "/home/{{ freshrss_user }}"
|
||||||
|
|
||||||
freshrss_container_name: freshrss
|
|
||||||
freshrss_restart_policy: always
|
freshrss_restart_policy: always
|
||||||
freshrss_service_stopped: False
|
freshrss_service_stopped: False
|
||||||
|
|
||||||
|
@ -11,6 +11,9 @@ BindsTo={{ __freshrss_pod_name }}.service
|
|||||||
After={{ __freshrss_pod_name }}.service
|
After={{ __freshrss_pod_name }}.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
Type=notify
|
||||||
|
NotifyAccess=all
|
||||||
|
KillMode=control-group
|
||||||
Environment=PODMAN_SYSTEMD_UNIT=%N
|
Environment=PODMAN_SYSTEMD_UNIT=%N
|
||||||
SyslogIdentifier=%N
|
SyslogIdentifier=%N
|
||||||
LogExtraFields=CONTAINER_NAME=%N
|
LogExtraFields=CONTAINER_NAME=%N
|
||||||
@ -56,9 +59,5 @@ ExecStart=/usr/bin/podman start {{ __freshrss_container_name }}
|
|||||||
ExecStop=/usr/bin/podman stop --ignore -t 10 {{ __freshrss_container_name }}
|
ExecStop=/usr/bin/podman stop --ignore -t 10 {{ __freshrss_container_name }}
|
||||||
ExecStopPost=/usr/bin/podman rm --force --ignore {{ __freshrss_container_name }}
|
ExecStopPost=/usr/bin/podman rm --force --ignore {{ __freshrss_container_name }}
|
||||||
|
|
||||||
Type=notify
|
|
||||||
NotifyAccess=all
|
|
||||||
KillMode=control-group
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target default.target
|
WantedBy=multi-user.target default.target
|
||||||
|
@ -10,10 +10,11 @@ Requires= dbus.socket {{ __freshrss_container_name }}.service
|
|||||||
Before={{ __freshrss_container_name }}.service
|
Before={{ __freshrss_container_name }}.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
Type=forking
|
||||||
|
KillMode=control-group
|
||||||
Environment=PODMAN_SYSTEMD_UNIT=%N
|
Environment=PODMAN_SYSTEMD_UNIT=%N
|
||||||
SyslogIdentifier=%N
|
SyslogIdentifier=%N
|
||||||
LogExtraFields=CONTAINER_NAME=%N
|
LogExtraFields=CONTAINER_NAME=%N
|
||||||
|
|
||||||
Delegate=memory pids
|
Delegate=memory pids
|
||||||
|
|
||||||
Restart=always
|
Restart=always
|
||||||
@ -30,8 +31,5 @@ ExecStartPre=/usr/bin/podman pod create \
|
|||||||
ExecStart=/usr/bin/podman pod start {{ __freshrss_pod_name }}
|
ExecStart=/usr/bin/podman pod start {{ __freshrss_pod_name }}
|
||||||
ExecStop=/usr/bin/podman pod stop --ignore -t 10 {{ __freshrss_pod_name }}
|
ExecStop=/usr/bin/podman pod stop --ignore -t 10 {{ __freshrss_pod_name }}
|
||||||
|
|
||||||
Type=forking
|
|
||||||
KillMode=control-group
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target default.target
|
WantedBy=multi-user.target default.target
|
||||||
|
Loading…
Reference in New Issue
Block a user