13 lines
314 B
SYSTEMD
13 lines
314 B
SYSTEMD
|
[Unit]
|
||
|
Description=Sync Membershipworks with local database
|
||
|
OnFailure=status-email-admin@%n.service
|
||
|
After=mariadb.service
|
||
|
Requires=mariadb.service
|
||
|
|
||
|
[Service]
|
||
|
User=adam
|
||
|
Type=oneshot
|
||
|
TimeoutStartSec=600
|
||
|
WorkingDirectory=/home/adam/memberPlumbing/
|
||
|
ExecStart=/usr/bin/python3 -u /home/adam/memberPlumbing/sqlExport.py
|