first version

This commit is contained in:
2021-03-02 12:52:21 +03:00
parent ff955ffe40
commit e3f047550f
10 changed files with 947 additions and 1 deletions

View File

@ -0,0 +1,20 @@
[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