Ubuntu Pastebin

Paste from technodict at Sat, 20 Aug 2016 20:13:09 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
[Unit]                                                                                                                               
 Description=myscript                                                      
 Requires=network.target                                                         
 After=network.target                                                            
                                                                                  [Service]                                                                       
 Type=idle                                                                       
 ExecStart=<Pathtoscript> > <pathto script>/script.log 2>&1 
 User=user                                                                      
 Group=user                                                                     
                                                                                   
[Install]                                                                       
WantedBy=multi-user.target                                                      
                                                                                                                                                               
                               
Download as text