TG-Avatar-Alteration/SOURCES/tg-avatar-alteration.service
2021-03-02 12:52:21 +03:00

21 lines
431 B
Desktop File

[Unit]
Description=telegram avatar alteration
After=network-online.target
Wants=network-online.target
[Service]
Type=oneshot
User=tg-aa-user
Group=tg-aa-user
ExecStart=/usr/bin/python3 /usr/share/tg-avatar-alteration/main.py /etc/tg-avatar-alteration/config.py /var/cache/tg-avatar-alteration
NoNewPrivileges=yes
PrivateTmp=true
PrivateDevices=true
ProtectHome=read-only
ProtectSystem=full
[Install]
WantedBy=multi-user.target